package org.example.fastproject.web.sys.model.vo.menu;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.example.fastproject.core.bean.TreeNode;

/**
 * @Author 王海舟
 * @Date 2023/1/31 10:52
 * @PackageName:org.example.fastproject.web.sys.model.vo.menu
 * @ClassName: MenuVo
 * @Description: 菜单信息
 * @Version 1.0
 */
@Data
@ApiModel(description = "菜单信息")
public class MenuVo {
    @ApiModelProperty("菜单id")
    private Long id;

    @ApiModelProperty("父级菜单id")
    private Long parentId;

    @ApiModelProperty("标题")
    private String title;

    @ApiModelProperty("层级（默认1）")
    private Integer level;

    @ApiModelProperty("排序")
    private Integer sort;

    @ApiModelProperty("图标")
    private String icon;

    @ApiModelProperty("路径")
    private String path;

    @ApiModelProperty("隐藏（1-是，0-否）")
    private Integer hide;
}
